package com.syswin.lhztest.strategy;

/**
 * 正规策略
 * @author:lhz
 * @date:2018/11/14 17:34
 */
//@Service
public class NormalDiscountStrategy implements DiscountStrategy {
    @Override
    public String type() {
        return "normal";
    }

    /**
     * vip 9折
     * @param cost
     * @return
     */
    @Override
    public double discount(double cost) {
        return cost ;
    }
}
